export  default {
    state :{
        userInfo:localStorage.getItem('userInfo') || {}
    },

    mutations:{
        setUserInfo(state,uInfo){
            state.userInfo=uInfo
            localStorage.setItem('userInfo', uInfo)
        }
    }

}